package com.zzyl.service;

import com.zzyl.dto.NursingProjectDto;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingPageVo;

import java.util.List;

/**
 * @Description NursingProjectService
 * @Author wangwei
 * @Date 2024-08-23
 */
public interface NursingProjectService {
    /**
     *分页查询护理项目
     * @param name
     * @param pageNum
     * @param pageSize
     * @param status
     * @return
     */
    NursingPageVo<NursingProject> getNursingProjectInfo(String name, Integer pageNum, Integer pageSize, Integer status);

    /**
     * 添加项目功能
     * @param nursingProjectDto
     * @return
     */
    void addNursingProject(NursingProjectDto nursingProjectDto);

    /**
     * 根据ID获取护理项目
     * @return
     */
    NursingProject getProjectInfoByID(Integer id);

    /**
     * 更新护理项目信息
     * @param nursingProjectDto
     * @return
     */
    void updateProjectInfo(NursingProjectDto nursingProjectDto);

    /**
     * 根据ID修改护理项目的状态
     * @param id
     * @param status
     * @return
     */
    void updateStatus(Long id, Integer status);


    void deleteProjectByID(Long id);

    /**
     * 获取所有的护理项目信息
     * @return
     */
    List<NursingProjectDto> getAllProjectInfo();
}
